package net.easyjava.third.search.elastic.bean;

import net.easyjava.tools.BaseBean;

/**
 * Created by wxnacy on 16/8/16.
 */
public class RangeBean extends BaseBean {
    private static final long serialVersionUID = 6732561032145911843L;
    private String field;
    private Object from;
    private Object to;

    public RangeBean() {
    }

    public RangeBean(String field, Object from, Object to) {
        this.field = field;
        this.from = from;
        this.to = to;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Object getFrom() {
        return from;
    }

    public void setFrom(Object from) {
        this.from = from;
    }

    public Object getTo() {
        return to;
    }

    public void setTo(Object to) {
        this.to = to;
    }
}
